package ooday03;

public class Fish extends Animal implements Swim{
    Fish(String name,String color,int age){
        super(name,color,age);
    }
    void eat (){
        System.out.println("一身"+color+age+"的"+name+"正在吃小鱼虾");
    }
    public void Swim(){
        System.out.println(color+"色的"+age+"岁的鱼"+name+"在划澡");
    }
}
